package com.minshenglife.zanzan.web.weixin;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.minshenglife.zanzan.service.SyncInfoService;

/**
 * ��Ϣͬ��������
 * @author huodd
 *
 */
@Controller
@RequestMapping("/sync")
public class SyncController {
	Logger log = LoggerFactory.getLogger(SyncController.class);
	
	@Resource
	SyncInfoService syncService;
	
	@RequestMapping("/initDeptInfo.do")
	public void initDeptInfo(HttpServletRequest request,HttpServletResponse response){
		syncService.initSyncDeptInfo();
	}
	
	@RequestMapping("/initEmpInfo.do")
	public void initEmpInfo(HttpServletRequest request,HttpServletResponse response){
		syncService.initSyncEmpInfo();
	}
	
}
